package com.study.designpattern.singleton;

/**
 * -----------------------------饿汉式----------------------
 * ----饿汉式，无线程安全问题，不能延迟加载，影响系统性能---
 */
public class SingletonHungry {
    private static SingletonHungry singletonHungry;

    private SingletonHungry(){}

    private static SingletonHungry getSingletonHungry(){
        return singletonHungry;
    }
}
